<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.prime.com.tr/ui">

    <body>

        <ui:composition>

            <div id="post">

                <h3>Alunos da Lista: #{ListaController.listaAux.titulo}</h3>

                <div id="stylized" class="myform">


                    <p:pickList value="#{ListaAlunoController.alunos}"  
                                var="aluno" iconOnly="true"  
                                itemLabel="#{aluno.nome}"  
                                itemValue="#{aluno}" converter="AlunoConverter" >  
                        <f:facet name="sourceCaption">Não Aplicar</f:facet>  
                        <f:facet name="targetCaption">Aplicar</f:facet>  
                    </p:pickList> 







                    <!--                        <h:commandButton styleClass="button" onclick="dlgQuestao.show();" type="button"  value="Categoria" />-->
                    <h:commandButton styleClass="button" action="#{ListaAlunoController.persiste}" value="Salvar" id="salvar" />
                    <p:commandButton styleClass="button" action="#{ListaAlunoController.persiste}" value="Salvar" id="salvar2" />
                    <h:commandButton styleClass="button" type="reset" value="Limpar" id="limpar" />


                    <!--
                                            <p:dialog header="Categoria" widgetVar="dlgQuestao" modal="true" width="300" height="400">
                                                <h:outputText>Categorias</h:outputText>
                                                <br />
                    
                                                <h:commandButton styleClass="button" action="{QuestaoController.addItem}" value="Incluir" />
                                                <h:commandButton styleClass="button" type="reset" value="Limpar" />
                    
                    
                                            </p:dialog>-->



                </div>
            </div>
        </ui:composition>

    </body>
</html>
